

module.exports = {
	success: ({message = '请求成功', data = null}) => {
		return {
			code: 200,
			message,
			data
		}
	},
	error: (message = '请求失败') => {
		return {
			code: 400, 
			message,
			data: null
		}
	}
}